﻿using System.Collections.Generic;
using System.Text;

namespace Triple
{
    public static class TripleExtension
    {
        public static string AsString(this IEnumerable<Triple> enumeration)
        {
            StringBuilder result = new StringBuilder();
            foreach (Triple triple in enumeration)
            {
                result.Append(triple.ToString() + " ");
            }
            return result.ToString();
        }
    }
}
